3e8f20adf3efb126496305653774aba5e90bcf3f,hipparchus-core/src/main/java/org/hipparchus/stat/descriptive/SummaryStatisticsImpl.java,SummaryStatisticsImpl,equals,#Object#,313
Before Change
return Precision.equalsIncludingNaN(other.getN(), getN()) &&
Precision.equalsIncludingNaN(other.getMax(), getMax()) &&
Precision.equalsIncludingNaN(other.getMin(), getMin()) &&
Precision.equalsIncludingNaN(other.getSum(), getSum()) &&
Precision.equalsIncludingNaN(other.getGeometricMean(), getGeometricMean()) &&
Precision.equalsIncludingNaN(other.getMean(), getMean()) &&
Precision.equalsIncludingNaN(other.getSumOfSquares(), getSumOfSquares()) &&
Precision.equalsIncludingNaN(other.getSumOfLogs(), getSumOfLogs()) &&
Precision.equalsIncludingNaN(other.getVariance(), getVariance());
}
/**
After Change
return other.getN() == getN() &&
Precision.equalsIncludingNaN(other.getMax(), getMax()) &&
Precision.equalsIncludingNaN(other.getMin(), getMin()) &&
Precision.equalsIncludingNaN(other.getSum(), getSum()) &&
Precision.equalsIncludingNaN(other.getGeometricMean(), getGeometricMean()) &&
Precision.equalsIncludingNaN(other.getMean(), getMean()) &&
Precision.equalsIncludingNaN(other.getSumOfSquares(), getSumOfSquares()) &&
Precision.equalsIncludingNaN(other.getSumOfLogs(), getSumOfLogs()) &&
Precision.equalsIncludingNaN(other.getVariance(), getVariance());
}
/**